package oop第一章作业;

public class Mainstudent {
    public static void main(String[] args) {
    Student student1=new Student();
    student1.id="1000";
    student1.name="张三";
    student1.age=18;
        Student student2=new Student();
        student2.id="1001";
        student2.name="李四";
        student2.age=19;
        Student student3=new Student();
        student3.id="1002";
        student3.name="王二";
        student3.age=20;
        student1.print();
        student2.print();
        student1.print();
}
}
